#ifndef __BMP280_H
#define __BMP280_H

#include "main.h"


#define BMP280_ADDR				0x76

#define BMP280_PRESS_H		0xF7			//Bit[7,0]
#define BMP280_PRESS_L		0xF8			//Bit[7,0]
#define BMP280_PRESS_XL		0xF9			//Bit[7,0]
#define BMP280_TEMP_H			0xFA			//Bit[7,0]
#define BMP280_TEMP_L			0xFB			//Bit[7,0]
#define BMP280_TEMP_XL		0xFC			//Bit[7,4]

#define BMP280_ID					0xD0
#define BMP280_RESET			0xE0
#define BMP280_CTRL				0xF4
#define BMP280_CONFIG			0xF5

void Bmp280_Init(void);


#endif
